package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;

import java.util.List;
import java.util.Map;

public interface CartService {
    CartInfo addCart(Long skuId, Integer skuNum);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, String userId, Integer isChecked);

    void deleteCart(String userId, Long skuId);

    Map<String, Object> getCartCheckedList(Long userId);
}
